package cn.com.oceansoft.business.log.service;


import cn.com.oceansoft.business.base.entity.Pager;
import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.base.entity.Result;
import cn.com.oceansoft.business.log.entity.SysBlackLog;

/**
 * Description
 *
 * @author: sunmc
 * @time: 2014/7/30 9:03
 */
public interface IBlackLogService {
    /**
     * 获取黑名单日志
     *
     * @param query 分页工具
     * @return pager
     */
    public Pager<SysBlackLog> getBlackLogPager(Query query);

    /**
     * 新增一条日志信息
     *
     * @param log 黑名单实体
     * @return Result
     */
    public Result addBlackLogPage(SysBlackLog log);
}
